<template>
    <div class="table-tools">
        <a-button type="primary" ghost @click="$emit('onAddRecord', true)">
            <template #icon><PlusOutlined /></template>
            接口数据登记
        </a-button>
    </div>
</template>
<script lang="ts">
import { defineComponent } from "vue";
import { PlusOutlined } from "@ant-design/icons-vue";
export default defineComponent({
    name: "addRecord",
    components: { PlusOutlined },
});
</script>
<style lang="less" scoped>
.table-tools {
    margin-bottom: 10px;
    > button {
        margin-right: 4px;
    }
}
</style>